import Layout from "@/view/layout/layout";

export default [
  {
    path: "/xt",
    component: Layout,
    redirect: "/xt/pz",
    name: "app.xt",
    meta: {
      title: "系统管理",
      iconfont: "icon-network"
    },
    children: [
    //   {
    //     path: "pz",
    //     component: () => import("@/view/pages/xitong/peizhi"),
    //     name: "app.xt.pz",
    //     meta: {
    //       title: "配置项管理"
    //     }
    //   },
      {
        path: "fw",
        component: () => import("@/view/pages/xitong/fuwu"),
        name: "app.xt.fw",
        meta: {
          title: "服务授权"
        }
      },
      {
        path: "yh",
        component: () => import("@/view/pages/xitong/yonghu"),
        name: "app.xt.yh",
        meta: {
          title: "用户管理"
        }
      },
      {
        path: "js",
        component: () => import("@/view/pages/xitong/juese"),
        name: "app.xt.js",
        meta: {
          title: "角色管理"
        }
      },
      {
        path: "cd",
        component: () => import("@/view/pages/xitong/caidan"),
        name: "app.xt.cd",
        meta: {
          title: "菜单管理"
        }
      },
      {
        path: "bm",
        component: () => import("@/view/pages/xitong/bumen"),
        name: "app.xt.bm",
        meta: {
          title: "部门管理"
        }
      }
    ]
  }
];
